package com.lzdongrui.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    public static final String CLIENT_LOGIN_TOKEN_KEY="client_login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    /**
     *用户密码前缀
     */
    public static final String USER_PASSWORD_PROFIX = "user.password";

    /**
     * 学生角色权限字符
     */
    public static final String STUDENT_ROLE_KEY = "student.role.key";


    /**
     * 提醒教师审核通知
     */
    public static final String TEACHER_AUDIT_NOTICE = "teacher.audit.notice";

    /**
     * 提醒学生假期通过通知
     */
    public static final String NOTICE_STUDENT_LEAVE_PASS = "notice.student.leave.pass";

    /**
     * 提醒学生假期不通过通知
     */
    public static final String NOTICE_STUDENT_LEAVE_NOTPASS = "notice.student.leave.notpass";


    /**
     * 提醒学生假期结束通知
     */
    public static final String END_STUDENT_LEAVE = "end.student.leave";


    /**
     * 提醒教师学生已经返校通知
     */
    public static final String STUDENT_RETURN_SCHOOL_NOTICE = "student.return.school.notice";
}
